Assignemnt #110 and 111th program
Code
///Name: Derrick Andreasen
///Period: 7
///Program name: 111th Program
///File name: Hund9prog.java
///Date Finished:4/15/2016
import java.util.Scanner;
import java.util.Scanner;
public class Hund10prog
{
public static void main( String[] args )
{
Scanner keyboard = new Scanner(System.in);
int number, a;
System.out.println( "" );
System.out.print( "choose a number: " );
number = keyboard.nextInt();
System.out.println( "" );
for(a = 1; a <= 12; a = a+1)
{
System.out.println( number + "*" + a + "= " + (number+a) );
}
}
}
Picture of the output